package com.eleadmin.common.system.param;

import com.eleadmin.common.core.annotation.QueryField;
import com.eleadmin.common.core.annotation.QueryType;
import com.eleadmin.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 信用等级表查询参数
 *
 * @author EleAdmin
 * @since 2025-04-30 20:57:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "CreditRatingParam对象", description = "信用等级表查询参数")
public class CreditRatingParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @ApiModelProperty(value = "发起人")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @ApiModelProperty(value = "信用等级分数最大100")
    @QueryField(type = QueryType.EQ)
    private Integer creditRatingScore;

    @ApiModelProperty(value = "信用等级：低于70一般。70-90良好大于90为优秀")
    private String creditRating;

}
